<li>
<a href="/?uid=<?=$row['uid']?>">
<img src="<?= avatar_util_saver::get_path($row['uid'])?>" class='avatar'/>
</a>
<?if(Util::isOnline($row['uid'])):?>
<span class="online"></span>
<?endif;?>
<a href='/?uid=<?= $row['uid']?>'><?= $row['username']?></a>

<? if(self::$is_self):?>
<div class="m_tools"><a href="javascript: void(Friends.confirmRemoveRequest(<?= $row['uid']?>))"><span class="sicon del_friend_icon"></span>删除好友</a></div>
<? endif;?>
</li>